package com.zhkj.shixi.tvplayer.PicturePlayer;

import android.app.Activity;
import android.content.Context;

import com.zhkj.shixi.tvplayer.Interface.IAlertDialog;
import com.zhkj.shixi.tvplayer.R;

/**
 * Created by nieshuang on 19-8-8.
 */

public class AlertDialogImpl extends Activity implements IAlertDialog {
    private Context mContext;
    private String mTitle;
    private String mContent;

    public AlertDialogImpl (Context context, String title, String content){
        this.mContext = context;
        this.mTitle = title;
        this.mContent = content;
    }
    @Override
    public void alertDialog(Context context, String title, String content) {
        MyCommonDialog myCommonDialog = new MyCommonDialog(context, R.layout.dialog_layout,new int[]{R.id.btn_cancel,R.id.btn_ok},"弹窗","内容");
        myCommonDialog.show();

    }

}
